package com.splic.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.splic.common.annotation.Excel;
import com.splic.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订阅套餐对象 t_goods
 * 
 * @author singe
 * @date 2022-01-04
 */
@Data
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;


    /**图标 */
    @Excel(name = "图标")
    private String icon;

    /** 应用id */
    @Excel(name = "应用id")
    private Long productId;

    /** 商品类型[广告/高级功能] */
    @Excel(name = "商品类型[广告/高级功能]")
    private Long goodsTypeId;

    /** 标识 */
    @Excel(name = "标识")
    private String identify;

    /** 周期 */
    @Excel(name = "周期")
    private String cycle;
    private String cycle1;

    /** 售价 */
    @Excel(name = "售价")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal salePrice;

    /** 成本 */
    @Excel(name = "成本")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal costPrice;

    /** 是否上架 */
    @Excel(name = "是否上架")
    private Integer isShelf;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 介绍 */
    @Excel(name = "介绍")
    private String introduction;


    /** 详细描述 */
    @Excel(name = "详细描述")
    private String desc;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;


}
